<template>
  <div>
    <nav>
      <router-link to="/" >Home本地应用</router-link> |
      <router-link to="/about" >about本地应用隐藏 别的项目</router-link>
      <router-link to="/vue3" >vue3子应用</router-link> |
      <router-link to="/vue2" >vue2子应用</router-link>
      
      <!-- <router-link to="/html5">html5子应用</router-link> -->
    </nav>
    <!-- <div style="height: 500px; width: 300px">
      <slider></slider>
    </div> -->
    
    <router-view></router-view>
    <div id="container">
      <div id="app"></div>
      <div id="app1"></div>
    </div>
  </div>
</template>
<script setup>
import slider from './components/Slider.vue';
import {ref} from "vue"
const state = ref(true)
const isHidden = (s)=>{
  state.value =s
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
